//
//  Auction_MainHead_TbvCell_WX.m
//  ZITHER
//
//  Created by weixin on 2019/5/31.
//  Copyright © 2019 weixn. All rights reserved.
//

#import "Auction_MainHead_TbvCell_WX.h"

@implementation Auction_MainHead_TbvCell_WX

- (void)awakeFromNib {
    [super awakeFromNib];
//    BaseView *view = [[BaseView alloc]initWithFrame:frame];
    self.backgroundColor = HexColor(0xeeeeee);
//    [self addSubview:view];
    [self setUI];
}

-(void)setUI{
    
    [self addSubview:self.titleV];
    
    [self.titleV mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self).offset(15);
        make.right.equalTo(self).offset(-15);
        make.height.mas_equalTo(90);
        make.top.equalTo(self).offset(15);
        make.bottom.equalTo(self).offset(0);
    }];
    
}


-(Auction_MainCellHeaderTitle_View_WX *)titleV{
    if (!_titleV) {
        _titleV = [[Auction_MainCellHeaderTitle_View_WX alloc]init];
    }
    return _titleV;
}


@end
